package com.sfy.les.dictionary.oracle;

import com.sfy.les.dictionary.DataBaseDictionary;
import com.sfy.les.dictionary.DictionaryInfo;
import com.sfy.les.excel.ExportExcel;

public class OracleDataBaseDictionary extends DataBaseDictionary{

	/**
	 * 导出excel
	 */
	@Override
	public String createExcel() throws Exception {
		//赋值默认驱动信息
		if(this.getDbDriver() == null || "".equals(this.getDbDriver())){
			this.setDbDriver("oracle.jdbc.driver.OracleDriver");
		}
		//获取查询字典信息
		DictionaryInfo dictionaryInfo = new OracleDictionaryInfo();
		return ExportExcel.exportExcel(this, dictionaryInfo);
	}

}
